﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Moki.Examples.Model
{
    public interface IFigure
    {
        int Sides { get; }
    }

    public abstract class BaseFigure
    {
    }

    public class Rectangle : BaseFigure, IFigure, ICloneable
    {

        public object Clone()
        {
            return new Rectangle();
        }

        public int Sides
        {
            get
            {
                return 4;
            }
        }
    }
}
